package pandora.bo.DFAJ;

import java.util.List;
import pandora.dto.ProductDTO;

public class Test {

	public static void main(String[] args) {

		UpdateCatalog c = new UpdateCatalog();
		//IProductDAO p = new JDBCProductDAO();
		//IPriceDAO pr = new JDBCPriceDAO();
		
		List<ProductDTO> products = c.listProducts();
		
		System.out.println("LISTA DE PRODUCTOS");
		if(products.isEmpty()){
			System.out.println("VACIO!!");
		}
		else{
			System.out.println(products.toString());
		}
		
		List<String> store = c.listProducts("00000047R");
		System.out.println("LISTA DE PRODUCTOS");
		if(store.isEmpty()){
			System.out.println("VACIO!!");
		}
		else{
			System.out.println(store.toString());
		}
		
	}

}
